package com.zygh.lz.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@ApiModel(value = "Efficiency对象", description = "")
public class Efficiency implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "里程（米）")
    private String totalDistance;

    @ApiModelProperty(value = "在线时长(分钟)")
    private String duration;

    @ApiModelProperty(value = "活跃度(里程（米）/时长（分钟）)")
    private String liveness;

    @ApiModelProperty(value = "违法数")
    private int illegalData;

    @ApiModelProperty(value = "接处警数")
    private String jieChujing;

    @ApiModelProperty(value = "警号")
    private String warningsignal;

    @ApiModelProperty(value = "警员id")
    private int staffId;


    @ApiModelProperty(value = "创建时间")
    private Date creatTime;

    @ApiModelProperty(value = "统计数据所属哪一天")
    private Date belongTime;

    @ApiModelProperty(value = "巡查里程得分")
    private Integer totalDistanceGrade;

    @ApiModelProperty(value = "在线时长得分")
    private Integer durationGrade;

    @ApiModelProperty(value = "活跃度得分")
    private Integer livenessGrade;

    @ApiModelProperty(value = "违法数得分")
    private Integer illegalDataGrade;

    @ApiModelProperty(value = "接处警得分")
    private Integer jieChujingGrade;

    @ApiModelProperty(value = "信息上报得分")
    private Integer problemGrade;


}
